<?php
namespace Common\Model;
use Think\Model;
class NewsModel extends Model{
	protected $tableName="news";
	protected $connection="DB_CONFIG1";
	protected $_validate=array(
			array('title','/^\S+$/','标题不能为空',0,'regex'),
	);
}